ComponentOne Xamarin Edition
FilterAsync<T>(ICollectionView<T>,String,Boolean,Boolean,Boolean,Boolean) Method
C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > FilterAsync Method : FilterAsync<T>(ICollectionView<T>,String,Boolean,Boolean,Boolean,Boolean) Method
The collection view.
The query string to be filtered.
if set to true treat spaces as and operator.
if set to true it will look into numeric fields.
If set to true the case will be taken into account.
If set to true the whole word will have to be matched.
Filters the data from a query string.
Syntax
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx+d__18`1[T])] 
[Extension()] 
public static Task FilterAsync<T>( 
   ICollectionView<T> collectionView, 
   string query, 
   bool treatSpacesAsAndOperator, 
   bool matchNumbers, 
   bool matchCase, 
   bool matchWholeWord 
) 
where T: class

Parameters

collectionView
The collection view.
query
The query string to be filtered.
treatSpacesAsAndOperator
if set to true treat spaces as and operator.
matchNumbers
if set to true it will look into numeric fields.
matchCase
If set to true the case will be taken into account.
matchWholeWord
If set to true the whole word will have to be matched.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List